package com.itheima.d05_junit_quickstart;

import org.junit.Assert;
import org.junit.Test;

public class StringutilsTest {
    @Test
    public void testprintNum() {
       StringUtils.printNum("666");
    }
    @Test
    public void testPrintNum() {
        StringUtils.printNum("");
        StringUtils.printNum(null);
    }
    @Test
    public void testReverse() {
        StringUtils.reverse("abc");
        String rs = StringUtils.reverse("abcd");
        System.out.println(rs);
        String expected="dcba";
        Assert.assertEquals("失败",expected,rs);
        StringUtils.reverse("");
    }


}
